<?php /* Smarty version Smarty-3.0.9, created on 2013-05-09 19:33:21
         compiled from "C:/wamp/www/glight/templates\Ingresar_Empleado.tpl" */ ?>
<?php /*%%SmartyHeaderCode:18753518bfa01a63e31-46651236%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'eaea30228f6c2735a150312ca5fd7b3dbf4067d1' => 
    array (
      0 => 'C:/wamp/www/glight/templates\\Ingresar_Empleado.tpl',
      1 => 1368127957,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '18753518bfa01a63e31-46651236',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>

<div>
    <style type="text/css"> @import url(../css/form.css); </style>
    <h3>Ingresar Empleado</h3>
    <form action="<?php echo $_smarty_tpl->getVariable('gvar')->value['l__global'];?>
ingresar_empleado.php?option=registar" method="POST">
        <table id="tableForm" class="tableForm" >

            <tr>
                <td></td> 
                <td>
                </td>

            </tr> 
            <tr>
                <td>
                    Nombre:
                </td>
                <td>
                    <input type="text" required id="nombreEmple" name="nombreEmple" autocomplete="off">
                </td>
            </tr>
            <tr>
                <td>
                    Contraseña:
                </td>
                <td>
                    <input type="password" name="password" required>
                </td>
            </tr>
            <tr>
                <td>
                    Cargo:
                </td>
                <td>
                    <select required name="cargo">
                        <option value="Diseñador" selected>Diseñador</option>
                        <option value="Ingeniero de Sonido">Ingeniero de Sonido</option>
                        <option value="Animador" >Animador</option>
                        <option value="Desarollador">Desarollador</option>
                    </select>
                </td>
            </tr>


            <tr>
                <td>
                    Fecha de Nacimiento:
                </td>
                <td>
                    <input type="date" name="fenacimiento" required>
                </td>
            </tr>    
            <tr>
                <td>
                    Sexo:
                </td>
                <td>
                    <div class="formradio" id="formradio" >
                            <input type="radio" name="sexo1" value="Masculino">Masculino<br>
                            <input type="radio" name="sexo2" value="Femenino">Femenino<br>
                    </div>

                </td>
            </tr>        
            <tr>
                <td>
                    Cedula:
                </td>
                <td>
                    <input type="text" name="cedula" required min="1" max="999999999999" >
                </td>
            </tr>



            <tr>
                <td>

                </td>
                <td>
                    <hr>
                    <div class="submit">
                        <input type="submit" value="Aceptar">
                    </div>

                </td>
            </tr>

        </table><br />
    </form>
    <?php if (isset($_smarty_tpl->getVariable('Empleado',null,true,false)->value)){?>
        <table id="tableForm" class="tableForm" >
            <tr><td>
                    <h4> Resultados:</h4><br/><br/>
                    <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('Empleado')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['value']->key;
?>
                        <b><?php echo $_smarty_tpl->tpl_vars['key']->value;?>
  :</b> <?php echo $_smarty_tpl->tpl_vars['value']->value;?>
<br/><br/>

                    <?php }} ?>
                </td></tr></table>  
            <?php }?>
</div>